/**
 * 菜单及路由信息
 * @description index是唯一索引
 */
const menuData = [{
    index: 'dashboard',
    icon: 'Odometer',
    title: '首页',
    path: '/home/index',
    componentName: 'HomeIndex'
},
{
    index: 'dataScreen',
    icon: 'Document',
    title: '数据大屏',
    path: '/dataScreen',
    componentName: 'DataScreen'
},
{
    index: 'form',
    icon: 'Document',
    title: '表单',
    path: '/form',
    componentName: 'Form'
},
{
    index: 'guide',
    icon: 'Promotion',
    title: '超级表格',
    path: '/proTable',
    children: [{
        index: 'useProTable',
        title: '使用 ProTable',
        path: '/proTable/useProTable',
        componentName: 'ProTable'
    },
    {
        index: 'userTreeFilter',
        title: '使用 TreeFilter',
        path: '/proTable/userTreeFilter',
        componentName: 'TreeFilter'
    },
    {
        index: 'useSelectFilter',
        title: '使用 SelectFilter',
        path: '/proTable/useSelectFilter',
        componentName: 'SelectFilter'
    },
    {
        index: 'complexProTable',
        title: '复杂 ProTable',
        path: '/proTable/complexProTable',
        componentName: 'ComplexProTable'
    },
    ]
},
{
    index: 'auth',
    icon: 'GoodsFilled',
    title: '权限管理',
    path: '/auth',
    children: [{
        index: 'menuAuth',
        title: '菜单权限',
        path: '/auth/menu',
        componentName: 'MenuAuth',
        children: [{
            index: 'menuAuth123',
            title: '菜单权限123',
            path: '/auth/menu123',
            componentName: 'MenuAuth213'
        }],
    },
    {
        index: 'button',
        title: '按钮权限',
        path: '/auth/button',
        componentName: 'ButtonAuth'
    }
    ]
},
{
    index: 'assembly',
    icon: 'GoodsFilled',
    title: '常用组件',
    path: '/assembly',
    children: [{
        index: 'aguide',
        title: '引导页',
        path: '/assembly/guide',
        componentName: 'Guide'
    },
    {
        index: 'selectIcon',
        title: '图标选择器',
        path: '/assembly/selectIcon',
        componentName: 'SelectIcon'
    },
    {
        index: 'selectFilter',
        title: '分类筛选器',
        path: '/assembly/selectFilter',
        componentName: 'SelectFilter'
    },
    {
        index: 'treeFilter',
        title: '树形筛选器',
        path: '/assembly/treeFilter',
        componentName: 'TreeFilter'
    },
    {
        index: 'svgIcon',
        title: 'SVG图标',
        path: '/assembly/svgIcon',
        componentName: 'SvgIcon'
    },
    {
        index: 'uploadFile',
        title: '文件上传',
        path: '/assembly/uploadFile',
        componentName: 'UploadFile'
    },
    {
        index: 'batchImport',
        title: '批量添加数据',
        path: '/assembly/batchImport',
        componentName: 'BatchImport'
    },
    {
        index: 'wangEditor',
        title: '富文本编辑器',
        path: '/assembly/wangEditor',
        componentName: 'WangEditor'
    },
    {
        index: 'draggable',
        title: '拖拽组件',
        path: '/assembly/draggable',
        componentName: 'draggable'
    },
    ]
},
{
    index: 'echarts',
    icon: 'GoodsFilled',
    title: 'Echarts',
    path: '/echarts',
    children: [{
        index: 'waterChart',
        title: '水型图',
        path: '/echarts/waterChart',
        componentName: 'WaterChart'
    },
    {
        index: 'columnChart',
        title: '柱状图',
        path: '/echarts/columnChart',
        componentName: 'ColumnChart'
    },
    {
        index: 'lineChart',
        title: '折线图',
        path: '/echarts/lineChart',
        componentName: 'LineChart'
    },
    {
        index: 'pieChart',
        title: '饼图',
        path: '/echarts/pieChart',
        componentName: 'PieChart'
    },
    {
        index: 'radarChart',
        title: '雷达图',
        path: '/echarts/radarChart',
        componentName: 'RadarChart'
    },
    {
        index: 'nestedChart',
        title: '嵌套环形圆',
        path: '/echarts/nestedChart',
        componentName: 'NestedChart'
    },
    {
        index: 'stereoscopiChart',
        title: '立体柱状图',
        path: '/echarts/stereoscopiChart',
        componentName: 'StereoscopiChart'
    },
    ]
},
{
    index: 'directives',
    icon: 'GoodsFilled',
    title: '自定义指令',
    path: '/directives',
    children: [
        {
            index: 'copyDirect',
            title: '复制指令',
            path: '/directives/copyDirect',
            componentName: 'CopyDirect'
        },
        {
            index: 'watermarkDirect',
            title: '水印指令',
            path: '/directives/watermarkDirect',
            componentName: 'WatermarkDirect'
        },
        {
            index: 'dragDirect',
            title: '拖拽指令',
            path: '/directives/dragDirect',
            componentName: 'DragDirect'
        },
        {
            index: 'debounceDirect',
            title: '防抖指令',
            path: '/directives/debounceDirect',
            componentName: 'DebounceDirect'
        },
        {
            index: 'longpressDirect',
            title: '节流指令',
            path: '/directives/longpressDirect',
            componentName: 'LongpressDirect'
        },

    ]
},
{
    index: 'menu',
    icon: 'GoodsFilled',
    title: '多级菜单',
    path: '/menu',
    children: [
        {
            index: 'menu1',
            title: '菜单1',
            path: '/menu/menu1',
            componentName: 'Menu1',
            children: [
                {
                    index: 'menu1-1',
                    title: '菜单1-1',
                    path: '/menu/menu1-1',
                    componentName: 'Menu1-1',
                },
                {
                    index: 'menu1-2',
                    title: '菜单1-2',
                    path: '/menu/menu1-2',
                    componentName: 'Menu1-2',
                }
            ]
        },
        {
            index: 'menu2',
            title: '菜单2',
            path: '/menu/menu2',
            componentName: 'Menu2',
            children: [
                {
                    index: 'menu2-1',
                    title: '菜单2-1',
                    path: '/menu/menu2-1',
                    componentName: 'Menu2-1',
                },
                {
                    index: 'menu2-2',
                    title: '菜单2-2',
                    path: '/menu/menu2-2',
                    componentName: 'Menu2-2',
                    children: [
                        {
                            index: 'menu2-2-1',
                            title: '菜单2-2-1',
                            path: '/menu/menu2-2-1',
                            componentName: 'Menu2-2-1',
                        },
                        {
                            index: 'menu2-2-2',
                            title: '菜单2-2-2',
                            path: '/menu/menu2-2-2',
                            componentName: 'Menu2-2-2',
                        }
                    ]
                }
            ]
        },
        {
            index: 'menu3',
            title: '菜单3',
            path: '/menu/menu3',
            componentName: 'Menu3',
            children: [
                {
                    index: 'menu3-1',
                    title: '菜单3-1',
                    path: '/menu/menu3-1',
                    componentName: 'Menu3-1',
                },
                {
                    index: 'menu3-2',
                    title: '菜单3-2',
                    path: '/menu/menu3-2',
                    componentName: 'Menu3-2',
                }
            ]
        },

    ]
},
]
module.exports = menuData